package com.bdqn.w.util;

public class Greeting {
    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getWords() {
        return words;
    }

    public void setWords(String words) {
        this.words = words;
    }

    private String person;
    private  String words;

    public  void sayGreeting(){
        System.out.println(person+"说:“"+words+"”");
    }
}
